<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="../common/default.jsp"%>
<title><s:property value='user.nickname'/>的主页 优问网-发现精彩问题 分享无限快乐</title>
<script type="text/javascript" src="/js/jquery1.7.2.js"></script>
<script type="text/javascript" src="/js/scrolltopcontrol.js"></script>
<script type="text/javascript" src="/js/global.js"></script>
<script type="text/javascript" src="/js/stream.js"></script>
<script type="text/javascript" src="/js/ask/ask.js"></script>
<script type="text/javascript" src="/js/personal/myHome.js"></script>
<script type="text/javascript" src="/js/personal/personal.js"></script>
<script type="text/javascript" src="/js/follow/follow.js"></script>
<link href="/css/global.css" type="text/css" rel="stylesheet" />
<link href="/css/stream.css" type="text/css" rel="stylesheet" />
<link href="/css/userInfo.css" type="text/css" rel="stylesheet" />
<script type="text/javascript">
	$(function(){
		fansList();
		regClick();
	});
</script>
</head>
<body>
<%@include file="../common/loginHead.jsp"%>
<!--个人信息头部 -->
<div class="user-info">
  <div class="user-info-inner">
    <dl class="user-info-dl">
      <input id="myId" type="hidden" value="<s:property value='user.id' />" />
      <dd class="user-info-01"><img src="<s:property value='user.avatarPath'/>" width="265px" height="265px"/></dd>
      <dd class="user-info-02">
        <p><s:property value='user.loginName'/></p>
      	<h3><s:property value='user.trueName'/></h3>
      </dd>
      <dd class="user-info-03">
        <p><span><s:property value="user.likeReceive"/></span>收到的喜欢数</p>
        <p class="user-info-asked"><span><s:property value="user.askCount"/></span>问问数</p>
        <!-- <p class="user-info-groups"><span>465</span>My Groups</p> --> 
      </dd>
    </dl>
    <div class="user-info-meta">
    	<div class="user-info-mayorships">
        	<p class="user-num-peoples">
               	问问:
                <a href="http://www.yoasking.com/user/<s:property value="user.id"/>"><s:property value="user.askCount"/></a>
            </p>
            <p class="user-people-block">
               <s:if test="asks != null && asks.size() > 0">
            		<s:iterator value="asks" status="u" id="ask">
            			 <a href="http://www.yoasking.com/user/<s:property value="#ask.userId"/>" class="people-block"><img src="<s:property value='#ask.picPath'/>!small"/></a>
            		</s:iterator>
            	</s:if>
            </p>
        </div>
      <div class="user-info-followees">
        	<p class="user-num-peoples">
                                        关注:
                <a href="http://www.yoasking.com/user/<s:property value="user.id"/>"><s:property value="user.followCount"/></a>
            </p>
            <p class="user-people-block">
            	<s:if test="follows != null && follows.size() > 0">
            		<s:iterator value="follows" status="u" id="myFollow">
            			 <a href="http://www.yoasking.com/user/<s:property value="#myFollow.id"/>" class="people-block" ><img src="<s:property value='#myFollow.avatarPath'/>"/></a>
            		</s:iterator>
            	</s:if>
            </p>
        </div>
        <div class="user-info-followers">
        	<p class="user-num-peoples">
           	     粉丝:
                 <a href="http://www.yoasking.com/user/<s:property value="user.id"/>"><s:property value="user.fansCount"/></a>
            </p>
            <p class="user-people-block">
            	<s:if test="fans != null && fans.size() > 0">
            		<s:iterator value="fans" status="u" id="myFans">
            			 <a href="http://www.yoasking.com/user/<s:property value="#myFans.id"/>" class="people-block"><img src="<s:property value='#myFans.avatarPath'/>"/></a>
            		</s:iterator>
            	</s:if>
            </p>
        </div>
    </div>	
  </div>
</div>
<div id="container">
		<div class="myNav">
	        <ul>
	          <li><a href="###">优问</a></li>
	          <li><a href="###">关注</a></li>
	          <li><a href="###" class="cur">粉丝</a></li>
	        </ul>
	        <div class="clear"></div>
	    </div>
		<div class="friList">
		</div>
</div>
<%@include file="../common/tipDiv.jsp"%>
<%@include file="../common/footer.jsp"%>
</body>
</html>